﻿@** Copyright 2013 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*@

@model SevenSpikes.Nop.Plugins.ProductRibbons.Models.BasePageRibbonModel

    @if (!String.IsNullOrEmpty(Model.RibbonPictureModel.PictureUrl))
    {
        <img id="ribbon-picture-@Model.ProductRibbonId-@Model.ProductId-@Model.PictureId" style="@Model.ImageStyle" src="@Model.RibbonPictureModel.PictureUrl"/>
    }
    @if (!String.IsNullOrEmpty(Model.Text))
    {
        if (String.IsNullOrEmpty(Model.RibbonPictureModel.PictureUrl))
        {
            <label class="ribbon-text" style="@Model.TextStyle">@Model.Text</label>
        }
        else
        {
            <label class="ribbon-image-text" style="@Model.TextStyle">@Model.Text</label>
        }
    }